<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .con {
            width: 100px;
            height: 100px;
            border: 1px solid red;
            overflow: hidden;
        }

        .box {
            height: 100px;
            width: 100vw;
            margin-left: -100px;
        }

        .box1 {
            width: 100px;
            height: 100px;
            background-color: yellow;
            float: left;
        }
    </style>
</head>

<body>

    <div class="con">

        <div class="box">
            <div class="box1">1</div>
            <div class="box1">2</div>
            <div class="box1">3</div>
            <div class="box1">4</div>
            <div class="box1">5</div>
        </div>
    </div>


</body>

</html>